const mongoose = require("mongoose");
const Schema = mongoose.Schema;

const suggestSchema = new Schema({
  keyword: {
    type: String,
    required: true
  },
  type: {
    type: String,
    required: true
  },
  name: {
    type: String,
    required: true
  }
});

const suggest = mongoose.model("suggest", suggestSchema);

module.exports = suggest;
